<script setup>
import {defineComponent} from "vue";
import {useRoute, useRouter} from "vue-router";
import {useStore} from "vuex";
defineComponent({
  name:'ComponentView',

})

const route = useRoute();
const router = useRouter();
const store = useStore();

console.log("route:" , route)
console.log("routeMeta:" , route.meta)

console.log("router:",router.getRoutes())

console.log("store:",store.state.count)
console.log("store|message:",store.state.message.msg)

</script>

<template>
  <div>About.vue
    <button @click="change('hi')">mapMutations点击</button> |
    <button @click="handleClick">handleClick点击</button><br> |
  </div>
</template>

<style scoped>

</style>